package com.tao.mapper;


import com.tao.common.domain.pojo.Department;
import com.tao.common.domain.pojo.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAll(User u);

    User selectById(User u);

    int add(User u);

    int update(User u);

    int delete(User u);

    User login(User u);

    Department selectDeptByID(User u);
}
